/**
 * @Copyright 
 * @Project inetdisk
 * @CreateTime 2015-10-12 上午11:00:06
 */
package ren.wxyz.inetdisk.model;

import java.io.Serializable;
import java.sql.Timestamp;

import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;

/**
 * <p>
 * 用户模型
 * </p>
 * @Author wxyz
 * @CreateTime 2015-10-12 上午11:00:06 init class
 */
@Entity
@Table(name = "t_users")
public class UserInfo implements Serializable {
	private static final long serialVersionUID = 2268657837060392360L;
	
	/**
	 * 主键标识
	 */
	private Long id;
	
	/**
	 * 登录账号
	 */
	private String account;
	/**
	 * 登录密码
	 */
	private transient String passwd;
	
	/**
	 * 密码的盐值
	 */
	private transient String passwdSalt;
	
	/**
	 * 用户昵称
	 */
	private String nickName;
	
	/**
	 * 锁住标志，1-锁定，0-未锁定
	 */
	private String lockFlag;
	
	/**
	 * 删除标志，1-删除，0-未删除
	 */
	private String delFlag;
	
	/**
	 * 创建时间
	 */
	private Timestamp createdTime;
	
	/**
	 * 修改时间
	 */
	private Timestamp updatedTime;

	@Id
	public Long getId() {
		return id;
	}

	public void setId(Long id) {
		this.id = id;
	}

	public String getAccount() {
		return account;
	}

	public void setAccount(String account) {
		this.account = account;
	}

	public String getPasswd() {
		return passwd;
	}

	public void setPasswd(String passwd) {
		this.passwd = passwd;
	}

	public String getNickName() {
		return nickName;
	}

	public void setNickName(String nickName) {
		this.nickName = nickName;
	}

	public String getLockFlag() {
		return lockFlag;
	}

	public void setLockFlag(String lockFlag) {
		this.lockFlag = lockFlag;
	}

	public String getDelFlag() {
		return delFlag;
	}

	public void setDelFlag(String delFlag) {
		this.delFlag = delFlag;
	}

	public Timestamp getCreatedTime() {
		return createdTime;
	}

	public void setCreatedTime(Timestamp createdTime) {
		this.createdTime = createdTime;
	}

	public Timestamp getUpdatedTime() {
		return updatedTime;
	}

	public void setUpdatedTime(Timestamp updatedTime) {
		this.updatedTime = updatedTime;
	}

	public String getPasswdSalt() {
		return passwdSalt;
	}

	public void setPasswdSalt(String passwdSalt) {
		this.passwdSalt = passwdSalt;
	}
}
